package com.tequila.core.dao;

import com.tequila.domain.dto.AppResourcesDto;
import com.tequila.domain.entity.AppResources;
import com.tequila.domain.query.AppResourcesQuery;

import java.util.List;

public interface AppResourcesDao {
    AppResources queryById(Long id);

    List<AppResourcesDto> queryByIdList(List<Long> idList);

    List<AppResourcesDto> queryListByParam(AppResourcesQuery query);

    List<AppResourcesDto> queryPageListByParam(AppResourcesQuery query);

    int queryPageCountByParam(AppResourcesQuery query);

    int insert(AppResources entity);

    int insertSelective(AppResources entity);

    int updateById(AppResources param);

    int updateSelectiveById(AppResources param);

    int deleteById(Long id);

    int deleteByIdList(List<Long> idList);
}